package com.edu.hibernate;

import java.sql.Timestamp;

/**
 * EnRoll entity. @author MyEclipse Persistence Tools
 */

public class EnRoll implements java.io.Serializable {

	// Fields

	private Integer enRollId;
	private String userId;
	private Integer classId;
	private String createBy;
	private Timestamp dateOfModifire;
	private Integer status;
	private String comment;

	// Constructors

	/** default constructor */
	public EnRoll() {
	}

	/** minimal constructor */
	public EnRoll(Integer enRollId) {
		this.enRollId = enRollId;
	}

	/** full constructor */
	public EnRoll(Integer enRollId, String userId, Integer classId,
			String createBy, Timestamp dateOfModifire, Integer status,
			String comment) {
		this.enRollId = enRollId;
		this.userId = userId;
		this.classId = classId;
		this.createBy = createBy;
		this.dateOfModifire = dateOfModifire;
		this.status = status;
		this.comment = comment;
	}

	// Property accessors

	public Integer getEnRollId() {
		return this.enRollId;
	}

	public void setEnRollId(Integer enRollId) {
		this.enRollId = enRollId;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getClassId() {
		return this.classId;
	}

	public void setClassId(Integer classId) {
		this.classId = classId;
	}

	public String getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Timestamp getDateOfModifire() {
		return this.dateOfModifire;
	}

	public void setDateOfModifire(Timestamp dateOfModifire) {
		this.dateOfModifire = dateOfModifire;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

}